package com.yh.service;

import java.util.List;

import com.yh.bean.BrowseRecords;
import com.yh.bean.News;
import com.yh.bean.NewsComment;
import com.yh.bean.NewsReply;

public interface NewsDaoSer {
public List<News> queryNewsSer();
public News queryNewsDetailss(int news);
public int updateNews(int news);

public int leaveM(NewsComment newsC);
public List<NewsComment> queryComm(int news_Id);
public int replyComm(NewsReply newsReply);
public List<NewsReply> queryReply(int comId);
public int addNewss(News news);
public int deleteNewss(int newsId);

//=-======================================================
//业务层   增加浏览记录的业务
public int createBrowserRecords(BrowseRecords b);
}
